stubdom: disable xen_blktap
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 18 Mar 2008 13:13:31 +0000 (13:13 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 18 Mar 2008 13:13:31 +0000 (13:13 +0000)
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
tools/ioemu/Makefile.target
tools/ioemu/hw/xen_machine_pv.c

index a9ffb1de53355bf4dd861b07cd4784c880155aa9..8f9a33531637bd11159177e301d4a6ea1892a5d6 100644 (file)
@@ -430,7 +430,9 @@ VL_OBJS+= cirrus_vga.o parallel.o acpi.o
 VL_OBJS+= usb-uhci.o smbus_eeprom.o
 VL_OBJS+= piix4acpi.o
 VL_OBJS+= xenstore.o
+ifndef CONFIG_STUBDOM
 VL_OBJS+= xen_blktap.o
+endif
 VL_OBJS+= xen_platform.o
 VL_OBJS+= xen_machine_fv.o
 VL_OBJS+= xen_machine_pv.o
index 8ebb97e88c54445507988f0db4dadba309d9137c..5cf5a695d48bd27031c6488c302b1c43b3cbc4f4 100644 (file)
@@ -45,8 +45,10 @@ static void xen_init_pv(uint64_t ram_size, int vga_ram_size, char *boot_device,
     extern int domid;
 
 
+#ifndef CONFIG_STUBDOM
     /* Initialize tapdisk client */
     init_blktap();
+#endif
 
     /* Connect to text console */
     if (serial_hds[0]) {